/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-4-10
 * Time: 下午7:56
 * To change this template use File | Settings | File Templates.
 */
$.createArg = function (option, args) {
    var arg = args[args.length - 1];
    if (arg && typeof(arg) == "object") {
        return $.extend({},option, arg);
    } else {
        return option;
    }
}